package com.reactsdk.sid

import com.facebook.react.ReactPackage
import com.facebook.react.bridge.NativeModule
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.uimanager.ViewManager
import com.reactsdk.sid.button.SIDButtonManager
import com.reactsdk.sid.elk.SIDELKManager
import com.reactsdk.sid.main.SIDModule

class SIDPackage : ReactPackage {
    override fun createNativeModules(reactContext: ReactApplicationContext): List<NativeModule> {
        return listOf<NativeModule>(SIDModule(reactContext))
    }

    override fun createViewManagers(reactContext: ReactApplicationContext): List<ViewManager<*, *>> {
        return listOf(
            SIDButtonManager(reactContext),
            SIDELKManager(reactContext),
        )
    }
}
